<template>
  <a-layout-header>
    <div class="logo">
      <img src="@/assets/img/T_sky_logo.jpg" alt="">
      <span>Timing·创作者中心</span>
    </div>
    <div class="service">
      <p><a-icon type="sound" theme="filled"/>数据将于第二天早上刷新 </p>
      <a-icon type="exclamation-circle" theme="filled" />
      <img src="@/assets/img/photo.jpg" alt="">
    </div>
  </a-layout-header>
</template>

<script>
export default {
  name: 'topHeader'
}
</script>

<style scoped lang="scss">
.ant-layout .ant-layout-header{
  z-index: 2;
  background-color: $bgW;
  box-shadow: 0px 1px 3px 1px $boxShadow;
  padding: 0 20px;
  @include flexbox(){
    justify-content: space-between;
    align-items: center;
  }
  .logo{
    img{
      width: 25px;
      /* height: 30px; */
      border-radius: 50%;

    }
    span{
      font-weight: 500;
      color: $themeColor;
      vertical-align: middle;
    }
  }
  .service{
    @include flexbox(){
    justify-content: space-around;
    align-items: center;
    }
    p{
      margin: 0 15px;
      font-size: 12px;
      padding: 5px 20px;
      border-radius: 20px;
      line-height: 1rem;
      background-color: $bgC;
      color: $viceTxtColor;
    }
    img{
      width: 25px;
      height: 25px;
      border-radius: 50%;
    }
    i{
      padding-right: 10px;
    }
  }
}
</style>
